﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RBS.Core.Extension
{
    public static class IEnumerableExtensions
    {
        public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action) {

            foreach (var element in enumerable) {
                action(element);
            }

        }
    }
}
